import React from 'react'
import { Card, Typography, Space } from 'antd'
import { AITestPanel } from './tests/AITestPanel'

const { Title, Paragraph } = Typography

/**
 * 测试页面 - AI功能测试
 * 用于测试和验证AI相关功能
 */
const TestPage: React.FC = () => {
  return (
    <div style={{ padding: '24px', maxWidth: '1200px', margin: '0 auto' }}>
      <Title level={2}>AI功能测试</Title>
      <Paragraph>
        本页面用于测试AI相关功能，包括对话、续写等核心功能的验证。
      </Paragraph>

      <Space direction="vertical" size="large" style={{ width: '100%' }}>
        <AITestPanel />
      </Space>
    </div>
  )
}

export default TestPage
